package com.jun.admin.core.model;

import com.jun.common.redis.aspect.anno.RedisLock;
import lombok.*;

import java.util.Objects;

/**
 * @author yuejun.li
 * @date 2024/5/11 10:17:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @RedisLock.KeyParam(1)
    private Integer id;

    @RedisLock.KeyParam(2)
    private String userName;

    private Integer age;
}
